﻿using RMM.UserAppService;
using RMM.Web.Controllers;
using System.Threading.Tasks;
using System.Web.Mvc;
using RMM.UserAdminService;

namespace RMM.Web.Admin.Controllers
{
    public class HomeController : BaseController
    {
        private readonly IUserAppService _userAppService;
        private readonly IUserAdminService _userAdminService;

        public HomeController(IUserAdminService userAdminService)
        {
            _userAdminService = userAdminService;
        }

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Test()
        {
            return View();
        }

        //public async Task<ActionResult> TestAsync()
        //{
        //    var users = await _userAppService.GetUserListAsync();
        //    return Json(users,JsonRequestBehavior.AllowGet);
        //}

    }
}